package bean;
public class Driver {
    private int did;
    private String dname;
    private String dsex;
    private String dbirth;
    private String daddress;
    private String dtype;
    private String dnum;
    private String dusetime;
    public Driver(int did, String dname, String dsex, String dbirth, String daddress, String dtype, String dnum,
                  String dusetime) {
        super();
        this.did = did;
        this.dname = dname;
        this.dsex = dsex;
        this.dbirth = dbirth;
        this.daddress = daddress;
        this.dtype = dtype;
        this.dnum = dnum;
        this.dusetime = dusetime;
    }
    public Driver() {
        super();
    }
    public int getDid() {
        return did;
    }
    public void setDid(int did) {
        this.did = did;
    }
    public String getDname() {
        return dname;
    }
    public void setDname(String dname) {
        this.dname = dname;
    }
    public String getDsex() {
        return dsex;
    }
    public void setDsex(String dsex) {
        this.dsex = dsex;
    }
    public String getDbirth() {
        return dbirth;
    }
    public void setDbirth(String dbirth) {
        this.dbirth = dbirth;
    }
    public String getDaddress() {
        return daddress;
    }
    public void setDaddress(String daddress) {
        this.daddress = daddress;
    }
    public String getDtype() {
        return dtype;
    }
    public void setDtype(String dtype) {
        this.dtype = dtype;
    }
    public String getDnum() {
        return dnum;
    }
    public void setDnum(String dnum2) {
        this.dnum = dnum2;
    }
    public String getDusetime() {
        return dusetime;
    }
    public void setDusetime(String dusetime) {
        this.dusetime = dusetime;
    }
    @Override
    public String toString() {
        return "Driver [did=" + did + ", dname=" + dname + ", dsex=" + dsex + ", dbirth=" + dbirth + ", daddress="
                + daddress + ", dtype=" + dtype + ", dnum=" + dnum + ", dusetime=" + dusetime + "]";
    }

}
